WeDevs\ERP\Accounting\API\Transactions_Controller B

Total Complexity 80
Dependencies 3
Dependents 0
Total lines 830
Lines of code 574
Logical lines of code 237
Comment lines 117
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
register_routes()
A
29
1 240
get_people_trn_status_data()
A
42 12 51
prepare_item_for_response()
A
47 10 38
get_expenses()
A
47 8 35
get_sales()
A
47 8 35
get_purchases()
A
47 8 35
get_expense_chart_status()
S
55 5 19
send_as_pdf()
S
56 3 17
get_people_trn_amount_data()
S
56 3 16
get_expense_chart_data()
S
59 3 13
get_purchase_chart_data()
S
63 3 10
get_purchase_chart_status()
S
63 3 10
get_sales_chart_payment()
S
63 3 10
get_sales_chart_status()
S
63 3 10
get_transaction_type()
S
67 2 7
get_voucher_type()
S
63 2 10
get_payment_methods()
S
71 1 5
get_income_expense_overview()
S
71 1 6
get_trn_statuses()
S
67 1 7